TryGet<T>(IPdfDict,PdfName,T,Boolean) Method
In This Topic
Tries to get the value associated with the specified key, if the value does not exist or cannot be converted to a returns false.
Syntax
'Declaration
Public Overloads Shared Function TryGet(Of As IPdfObject)( _
ByVal As IPdfDict, _
ByVal As PdfName, _
ByRef As , _
Optional ByVal As System.Boolean _
) As System.Boolean
public static System.bool TryGet<>(
IPdfDict ,
PdfName ,
out ,
System.bool
)
where T: IPdfObject
Parameters
- dict
- The current dictionary.
- key
- The key identifying the value.
- value
- OUT: The value.
- addWarning
- Indicates whether to add a warning to GrapeCity.Documents.Pdf.GcPdfDocument.ParserLog if value at the specified index can't be converted to the .
Type Parameters
- T
Return Value
true if value exists, false otherwise.
See Also